/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package commonInfrastructure.system.entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 *
 * @author ReinforceII
 */
@Entity
public class SystemParameterEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    private Long id;
    
    private double directSalesCreditLimit;
    private double wholeSalesCreditLimit;
    private String DS_COMPANY_TYPE;
    private String WS_COMPANY_TYPE;
    private double largeOrderAmount;
    private int dsLevelOneQuantity;
    private int dsLevelTwoQuantity;
    private int wsLevelOneQuantity;
    private int wsLevelTwoQuantity;
    private double dsInitialDiscount;
    private double dsLevelOneDiscount;
    private double dsLevelTwoDiscount;
    private double wsInitialDiscount;
    private double wsLevelOneDiscount;
    private double wsLevelTwoDiscount;
    private String salesLeadCompanyStatus;
    private String fullCustomerCompanyStatus;
    private int rawMaterialPurchasingTimer;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof SystemParameterEntity)) {
            return false;
        }
        SystemParameterEntity other = (SystemParameterEntity) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "system.entity.SystemParameter[ id=" + id + " ]";
    }

    /**
     * @return the directSalesCreditLimit
     */
    public double getDirectSalesCreditLimit() {
        return directSalesCreditLimit;
    }

    /**
     * @param directSalesCreditLimit the directSalesCreditLimit to set
     */
    public void setDirectSalesCreditLimit(double directSalesCreditLimit) {
        this.directSalesCreditLimit = directSalesCreditLimit;
    }

    /**
     * @return the wholeSalesCreditLimit
     */
    public double getWholeSalesCreditLimit() {
        return wholeSalesCreditLimit;
    }

    /**
     * @param wholeSalesCreditLimit the wholeSalesCreditLimit to set
     */
    public void setWholeSalesCreditLimit(double wholeSalesCreditLimit) {
        this.wholeSalesCreditLimit = wholeSalesCreditLimit;
    }

    /**
     * @return the DS_COMPANY_TYPE
     */
    public String getDS_COMPANY_TYPE() {
        return DS_COMPANY_TYPE;
    }

    /**
     * @param DS_COMPANY_TYPE the DS_COMPANY_TYPE to set
     */
    public void setDS_COMPANY_TYPE(String DS_COMPANY_TYPE) {
        this.DS_COMPANY_TYPE = DS_COMPANY_TYPE;
    }

    /**
     * @return the WS_COMPANY_TYPE
     */
    public String getWS_COMPANY_TYPE() {
        return WS_COMPANY_TYPE;
    }

    /**
     * @param WS_COMPANY_TYPE the WS_COMPANY_TYPE to set
     */
    public void setWS_COMPANY_TYPE(String WS_COMPANY_TYPE) {
        this.WS_COMPANY_TYPE = WS_COMPANY_TYPE;
    }

    /**
     * @return the largeOrderAmount
     */
    public double getLargeOrderAmount() {
        return largeOrderAmount;
    }

    /**
     * @param largeOrderAmount the largeOrderAmount to set
     */
    public void setLargeOrderAmount(double largeOrderAmount) {
        this.largeOrderAmount = largeOrderAmount;
    }

    /**
     * @return the dsLevelOneQuantity
     */
    public int getDsLevelOneQuantity() {
        return dsLevelOneQuantity;
    }

    /**
     * @param dsLevelOneQuantity the dsLevelOneQuantity to set
     */
    public void setDsLevelOneQuantity(int dsLevelOneQuantity) {
        this.dsLevelOneQuantity = dsLevelOneQuantity;
    }

    /**
     * @return the dsLevelTwoQuantity
     */
    public int getDsLevelTwoQuantity() {
        return dsLevelTwoQuantity;
    }

    /**
     * @param dsLevelTwoQuantity the dsLevelTwoQuantity to set
     */
    public void setDsLevelTwoQuantity(int dsLevelTwoQuantity) {
        this.dsLevelTwoQuantity = dsLevelTwoQuantity;
    }

    /**
     * @return the wsLevelOneQuantity
     */
    public int getWsLevelOneQuantity() {
        return wsLevelOneQuantity;
    }

    /**
     * @param wsLevelOneQuantity the wsLevelOneQuantity to set
     */
    public void setWsLevelOneQuantity(int wsLevelOneQuantity) {
        this.wsLevelOneQuantity = wsLevelOneQuantity;
    }

    /**
     * @return the wsLevelTwoQuantity
     */
    public int getWsLevelTwoQuantity() {
        return wsLevelTwoQuantity;
    }

    /**
     * @param wsLevelTwoQuantity the wsLevelTwoQuantity to set
     */
    public void setWsLevelTwoQuantity(int wsLevelTwoQuantity) {
        this.wsLevelTwoQuantity = wsLevelTwoQuantity;
    }

    /**
     * @return the dsInitialDiscount
     */
    public double getDsInitialDiscount() {
        return dsInitialDiscount;
    }

    /**
     * @param dsInitialDiscount the dsInitialDiscount to set
     */
    public void setDsInitialDiscount(double dsInitialDiscount) {
        this.dsInitialDiscount = dsInitialDiscount;
    }

    /**
     * @return the dsLevelOneDiscount
     */
    public double getDsLevelOneDiscount() {
        return dsLevelOneDiscount;
    }

    /**
     * @param dsLevelOneDiscount the dsLevelOneDiscount to set
     */
    public void setDsLevelOneDiscount(double dsLevelOneDiscount) {
        this.dsLevelOneDiscount = dsLevelOneDiscount;
    }

    /**
     * @return the dsLevelTwoDiscount
     */
    public double getDsLevelTwoDiscount() {
        return dsLevelTwoDiscount;
    }

    /**
     * @param dsLevelTwoDiscount the dsLevelTwoDiscount to set
     */
    public void setDsLevelTwoDiscount(double dsLevelTwoDiscount) {
        this.dsLevelTwoDiscount = dsLevelTwoDiscount;
    }

    /**
     * @return the wsInitialDiscount
     */
    public double getWsInitialDiscount() {
        return wsInitialDiscount;
    }

    /**
     * @param wsInitialDiscount the wsInitialDiscount to set
     */
    public void setWsInitialDiscount(double wsInitialDiscount) {
        this.wsInitialDiscount = wsInitialDiscount;
    }

    /**
     * @return the wsLevelOneDiscount
     */
    public double getWsLevelOneDiscount() {
        return wsLevelOneDiscount;
    }

    /**
     * @param wsLevelOneDiscount the wsLevelOneDiscount to set
     */
    public void setWsLevelOneDiscount(double wsLevelOneDiscount) {
        this.wsLevelOneDiscount = wsLevelOneDiscount;
    }

    /**
     * @return the wsLevelTwoDiscount
     */
    public double getWsLevelTwoDiscount() {
        return wsLevelTwoDiscount;
    }

    /**
     * @param wsLevelTwoDiscount the wsLevelTwoDiscount to set
     */
    public void setWsLevelTwoDiscount(double wsLevelTwoDiscount) {
        this.wsLevelTwoDiscount = wsLevelTwoDiscount;
    }

    /**
     * @return the salesLeadCompanyStatus
     */
    public String getSalesLeadCompanyStatus() {
        return salesLeadCompanyStatus;
    }

    /**
     * @param salesLeadCompanyStatus the salesLeadCompanyStatus to set
     */
    public void setSalesLeadCompanyStatus(String salesLeadCompanyStatus) {
        this.salesLeadCompanyStatus = salesLeadCompanyStatus;
    }

    /**
     * @return the fullCustomerCompanyStatus
     */
    public String getFullCustomerCompanyStatus() {
        return fullCustomerCompanyStatus;
    }

    /**
     * @param fullCustomerCompanyStatus the fullCustomerCompanyStatus to set
     */
    public void setFullCustomerCompanyStatus(String fullCustomerCompanyStatus) {
        this.fullCustomerCompanyStatus = fullCustomerCompanyStatus;
    }

    /**
     * @return the rawMaterialPurchasingTimer
     */
    public int getRawMaterialPurchasingTimer() {
        return rawMaterialPurchasingTimer;
    }

    /**
     * @param rawMaterialPurchasingTimer the rawMaterialPurchasingTimer to set
     */
    public void setRawMaterialPurchasingTimer(int rawMaterialPurchasingTimer) {
        this.rawMaterialPurchasingTimer = rawMaterialPurchasingTimer;
    }
}
